﻿using System;
using System.Reflection;

namespace JH
{
    public static class CommonlyUseFlag
    {
        public static BindingFlags GetCommonlyUseFlagsEm(this Type _)
        {
            return GetCommonlyUseFlagsEm();
        }
        
        public static BindingFlags GetCommonlyUseFlagsEm()
        {
            return BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.Instance | BindingFlags.Static
                   | BindingFlags.FlattenHierarchy;
        }
    }
}